Fixed the double files in the database.