updated requirements and added sendfile endpoint