from pathlib import Path


def get_directory(base_path, vin):
    """Generate directory where data files go."""
    path = Path(base_path) / Path(str(vin))
    path.mkdir(parents=True, exist_ok=True)
    return path