overhauled file streams with RandomAccessFile
overhauled file streams with RandomAccessFile