textfile output added