Added delete file functionality.