'Removes any temporary files created from a previous call to
get_real_file. file_path must be the path returned from a
previous call to get_real_file.'

def cleanup_tmp_file(self, file_path):

    if (file_path in self._tempfiles):
        os.unlink(file_path)
        self._tempfiles.remove(file_path)
