Migrated filenames to db