code: function loadResources( state, filePath ) {
  	var resourcePath = path.resolve( process.cwd(), filePath );
  	return getResources( resourcePath )
  		.then( function( list ) {
  			return when.all( _.map( _.filter( list ), loadModule.bind( undefined, state ) ) )
  				.then( function( lists ) {
  					return _.flatten( lists );
  				} );
  		} );
  }
docs: loadResources from path and returns the modules once they're loaded