private void openStreams() throws FileNotFoundException {
    myStream = new RandomAccessFile(file.toFile(), "rw");
    myIndexStream = new RandomAccessFile(myIndexPath, "rw");
    myStreamsOpen = true;
  }
private void openStreams()