Implemented index file db