Added custom file processing