Adds persistent reference to output file