Added msg to txt file