def fs_cleanup(filename, suppress_exceptions=True):
    try:
        os.remove(filename)
    except OSError:
        if suppress_exceptions:
            pass
        else:
            raise
Tries to remove the given filename. Ignores non-existent files
dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/common/utils.py/fs_cleanup