File Deletion and uploads on edit