Refactored FileResponse class.