Better file response handling.