refactored ExcelFile class