from pathlib import Path


def make_file(dir: Path, f: Path):
    """outputs a file in a dir using the current file features"""
    output = dir / (f"{f.stem}_cookies{f.suffix}")

    if not output.exists():
        output.touch()

    return output