lib/resolver.js
function(rootPath, filePath, encoding) {
        return fs.readFileSync(path.resolve(rootPath, filePath), encoding || 'utf8');
    }
function(rootPath, filePath, encoding) {
        return fs.readFileSync(path.resolve(rootPath, filePath), encoding || 'utf8');
    }
function ( rootPath , filePath , encoding ) { return fs . readFileSync ( path . resolve ( rootPath , filePath ) , encoding || 'utf8' ) ; }
Returns an object representing the content of a file.

@param rootPath {string} the root path of the project
@param filePath {string} the path of the file (relative to rootPath)
@param encoding {string?} the encoding to use (is null if a default should be used)
@return {object} an object representing the content.
Returns an object representing the content of a file .