- using a temporary file to write out from phantom to work around it truncating long output