lib/common.js
function readFile(filename, isJSON, stripComments, defaultContents){
        if (grunt.file.exists(filename)){
            var contents = grunt.file.read(filename) ;
                if (isJSON || stripComments)
                    contents = stripJsonComments(contents);
                return isJSON ? JSON.parse( contents ) : contents;
        }
        else
           return defaultContents;
    }
function readFile(filename, isJSON, stripComments, defaultContents){
        if (grunt.file.exists(filename)){
            var contents = grunt.file.read(filename) ;
                if (isJSON || stripComments)
                    contents = stripJsonComments(contents);
                return isJSON ? JSON.parse( contents ) : contents;
        }
        else
           return defaultContents;
    }
function readFile ( filename , isJSON , stripComments , defaultContents ) { if ( grunt . file . exists ( filename ) ) { var contents = grunt . file . read ( filename ) ; if ( isJSON || stripComments ) contents = stripJsonComments ( contents ) ; return isJSON ? JSON . parse ( contents ) : contents ; } else return defaultContents ; }
readFile(filename, isJSON, stripComments, defaultContents)
readFile ( filename isJSON stripComments defaultContents )