using the struct HTTPTransaction to simplify calls to and from the file server