don't do two requests on creation of file