Simple Flat-file Database on Java(Tutorial)