Removing lenght parameter sent to send_file method to ommit a
deprecation warinig.