Java program that creates binary database and index files for the same.