def METHOD_NAME(self, filepath):
    p = Path(filepath)
    if p.exists():
        raise FileExistsError(
            "The filepath you've supplied already exists. Please use "
            "either `overwrite = True` or manually move or delete the "
            "existing file."
        )