Renamed delete-file to remove file so we don't clash with the built-in function of the same name.