Used RandomAccessFile instead

- FileLock is ultimately used because of the speed and flexibility of
access.
- Removing the generated sequence is left.