Remove debug
Use RandomAccessFile instead of InputStream

This gives extra methods for seek()