Simplified path and error handling.