modify http to send all types of file