pre-cleanup
file upload