@Test
public void testFileToStream() throws Exception {

    OutputStream os = new ByteArrayOutputStream();
    Misc.fileToStream(file.getName(), os);
    assertEquals( "inside the lebron file", os.toString());
}