formatting in textfile