add input from txt file