Automatically clear and import uploaded database files
Basic comparison code