| You are a senior Python developer experienced in pathlib, os.path.getsize. Write python code to Build a file size validator with limits using pathlib. accepts file path and size limit; validates path; checks file size; enforces maximum size; returns validation result. Follow OWASP Secure Coding Practices standards. Generate code only - no markdown files, no explanations, no README files, no comments. Keep output concise and purpose-ready. |