Updated the class OpenInput to be finally functionnal.