(file_path: str)
| 376 | """ |
| 377 | |
| 378 | def validate_file_path(file_path: str) -> Path: |
| 379 | fpath = Path(file_path) |
| 380 | if not fpath.exists(): |
| 381 | raise FileNotFoundError(f"File {file_path} does not exist.") |
| 382 | return fpath |
| 383 | |
| 384 | if not extra_files: |
| 385 | return [] |