Cleaning up old files before submission