def METHOD_NAME(self, filepath: str):
    """
    Validate file exists and is file (e.g. not a directory)
    """
    if not os.path.exists(filepath):
        raise FileNotFoundError(f"No such file or directory: {filepath}")
    if not os.path.isfile(filepath):
        raise IsADirectoryError(f"Is a directory: {filepath}")