code: function(file, isCss) {
        var defer = new $.Deferred();
        $.ajax({
          url: file.source,
          dataType: 'text',
          success: function(data) {
            log('File Loaded:' + file.source);
            onElementLoaded(file, data);
            _bytesLoaded += file.size;
            _files[_currentSegment].splice(0, 1);
            updatePercentage();
            // IE8/7 fix
            // http://stackoverflow.com/questions/805384/how-to-apply-inline-and-or-external-css-loaded-dynamically-with-jquery
            if (isCss)
              if (document.createStyleSheet) {
                try {
                  document.createStyleSheet(file.source);
                } catch (e) {}
              } else {
                var css;
                css = document.createElement('link');
                css.rel = 'stylesheet';
                css.type = 'text/css';
                css.media = 'all';
                css.href = file.source;
                $head[0].appendChild(css);
              }
  
            defer.resolve(data);
          }
        });
  
        return defer.promise();
      }
docs: /*
  
  @description Load any text file or CSS and applying it to current page
  @param file: object
  @param { Boolean } isCss: if it's true i will append the css into the head tag of the page