copy file before saving
Added validations for stuff\!
Silence deprecation warning
added form for file upload