add input from file