// read file header only once.
if (this.initialized)
return;
// read input file trajectory
this.randomAccessFile = new CachedRandomAccessFile(filename);
// for non cached access
// this.randomAccessFile2 = new RandomAccessFile( filename, "r" );
this.fileSize = randomAccessFile.length(); // get amount of bytes randomAccessFile file