public static byte[] read(File f) throws IOException
	{
		InputStream in = newInputStream(f);
		try {
			return ByteStreams.read(in);
		} finally {
			IO.close(in);
		}
	}
public static byte [ ] read ( File f ) throws IOException { InputStream in = newInputStream ( f ) ; try { return ByteStreams . read ( in ) ; } finally { IO . close ( in ) ; } }
Reads the content of the given {@code File}.

@param f the file to read.

@return the file's content as a {@code byte[]}.

@throws NullPointerException if {@code f} is {@code null}.
@throws IOException if {@code f} does not exist, or if it is a
directory rather than a regular file, or if it can't be read.
@throws SecurityException if a security manager exists and denies
read access to {@code f}.