Replace MappedRandomAccessFile with MappedFileChannel