Implement file request handler in client