byte[] expected = new byte[fileSize];
Random rand = new Random(seed);
rand.nextBytes(expected);
// do a sanity check. Read the file
byte[] actual = new byte[fileSize];
stm.readFully(0, actual);
checkAndEraseData(actual, 0, expected, "Read Sanity Test");
stm.close();
}
private void cleanupFile(FileSystem fileSys, Path name) throws IOException {