finished upload controller. Files are converted and added to database.