private Customer getCustomerByFile(String file) throws IOException, HotelInputException { String input = super.loadInputFromFile(file); hotelInputReader.read(input); CustomerAdapter adapter = new CustomerAdapter(hotelInputReader); adapter.doAdapter(); return adapter.getCustomer(); }