"""Utility functions related to operations with files.""" import os def remove_file(path): """Remove a file, and silently return if it doesn't exist. Args: path (str): path to file """ try: os.remove(path) except FileNotFoundError: pass