Added loading input from file.