def METHOD_NAME(
    csv_file: FilePath,
    dest: FilePath = ".",
    **options,
) -> Path:
    csv_file = Path(csv_file)
    if not csv_file.exists():
        raise ValueError(f"No such file {csv_file!s}")
    if not csv_file.suffix.endswith(".csv"):
        raise ValueError(f"File {csv_file!s} must have extension '.csv'!")
    options["dest"] = dest
    options["project_files"] = {csv_file}
    with tempfile.TemporaryDirectory(prefix="pythonfmu_") as tempd:
        temp_dir = Path(tempd)
        script_file = temp_dir / (csv_file.stem + ".py")
        with open(script_file, "+w") as f:
            f.write(create_csv_slave(csv_file))
        options["script_file"] = script_file
        return FmuBuilder.METHOD_NAME(**options)