forgot to add header object back into putFile