add label while writing data into txt