Finished implementing file handling in uploads (edit,del)