Adds file removal after upload or key collision