file upload update

file upload in the database + dont propose file upload if file has
already been uploaded to database