Output file wasn't being created. Fault of previous edit. Order of info/open was wrong.