The solution for the txt file