| Write python code to Build a file batch processor with transaction support using pathlib. accepts list of file operations; validates all paths; processes operations in batch; rolls back on error; returns results. Structure the project as: src/, utils/batch_processor.py, validators/path_validator.py. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready. |