create text file output in output directory