separate Migrate.hs and TextFileDB.hs from idfilepathdb.hs
implement singlefile with sqlite database