Delete files when upload is cancelled
Remove unused code