function readFileSync( file, options ) {
	var f;
	try {
		if ( arguments.length > 1 ) {
			f = readfileSync( file, options );
		} else {
			f = readfileSync( file );
		}
	} catch ( err ) {
		return err;
	}
	return f;
}
Synchronously reads the entire contents of a file.

@param {(string|Buffer|integer)} file - file path or file descriptor
@param {(Object|string)} [options] - options
@param {(string|null)} [options.encoding] - file encoding
@param {string} [options.flag] - file status flag
@returns {(Buffer|string|Error)} file contents or an error

@example
var out = readFileSync( __filename );
if ( out instanceof Error ) {
    throw out;
}
console.log( out );