O5m file format reader implemented on Java