print system var and output it to a text file