Get sha1 checksum for uploaded file
Add case to see if file exists, destroy file and send to create file alias form with pre-set
(if file with checksum dosent exist) Rename file from temp. generated md5 value to sha1 checksum
write uploaded file to db (first check existence)