Implement file request handler in server