from pathlib import Path


def setup(path: str) -> None:
    """Creates 'path'. Returns None."""
    if str(path).endswith("txt"):
        Path(path).touch()
    else:
        Path(path).mkdir()
    return None