Resolved permission issues related to uploaded files & implemented delete file logic