preps files for database integration
merges usedb