private void handleInputFile(Object input)
	{
		Configuration[] configs = null;
		AutomatonSimulator simulator = getSimulator(automaton);
	/*	if (input instanceof InputBox)
		{
			InputBox tt=(InputBox) input;
			if (getObject() instanceof TuringMachine)
				tt.addSimulator(automaton, simulator, true);
			else
				tt.addSimulator(automaton, simulator, false);
			return;
		}*/
		if (input == null)
			return;
		
		// Get the initial configurations.
		if (getObject() instanceof TuringMachine) {
			String[] s = (String[]) input;
			configs = ((TMSimulator) simulator).getInitialConfigurations(s);
		} else {
			String s = (String) input;
			configs = simulator.getInitialConfigurations(s); 
		}
		handleInteraction(automaton, simulator, configs, input);

	}