Removes redirection on file upload; adds delete functionality