@Deprecated
    public static byte[] toBytes(File file) throws IOException {
	BufferedFileInputStream bfis = null;
	try {
	    bfis = new BufferedFileInputStream(file);
	    byte[] barr = toBytes(bfis);
	    return barr;
	}
	finally {
	    closeEL(bfis);
	}
    }
@ Deprecated public static byte [ ] toBytes ( File file ) throws IOException { BufferedFileInputStream bfis = null ; try { bfis = new BufferedFileInputStream ( file ) ; byte [ ] barr = toBytes ( bfis ) ; return barr ; } finally { closeEL ( bfis ) ; } }
@deprecated use instead <code>{@link #toBytes(Resource)}</code>
@param file
@return returns the Content of the file as byte array
@throws IOException