and removes the file