Add custom file logging