code: function loadSyncAsync(filepath, settings, method, cb) {
      var result, timeout;
  
      if (fs.existsSync(filepath)) {
          try {
              result = require(filepath)(settings, function(err, result) {
                  if (timeout) clearTimeout(timeout);
                  if (err) {
                      throw new Error('GameLoader.' + method + ': an error ' +
                                      'occurred: ' + err);
                  }
                  cb(result);
              });
          }
          catch(e) {
              throw new Error('GameLoader.' + method + ': cannot read ' +
                              filepath + ": \n" + e.stack);
          }
  
          if ('undefined' !== typeof result) {
              cb(result);
          }
          else {
              timeout = setTimeout(function() {
                  throw new Error('GameLoader.' + method + ': timed-out: ' +
                                  filepath);
              }, 30000);
          }
          return true;
      }
      return false;
  }
docs: ### loadSyncAsync
  
  Requires a file and executes sync or async
  
  Required file must return a function that is executed immediately.
  The function can return a value immediately, and in this case a callback
  is executed on the return value, or use the async callback.
  
  @param {string} filepath The path to the file to require
  @param {object} settings Object to pass the required callback
  @param {string} method The name of the method calling loadSyncAsync
  @param {function} cb The callback to execute sync or async
  
  @return {boolean} TRUE, if the file was found and executed without errors
  
  @see GameLoader.loadAuthDir