parseInputFile method for elevator implement