sending files headers fix