Added header insertion in text file