Implement request handling for various file types