public Register(string receiptWriterPath) { ReceiptWriterPath = receiptWriterPath; listOfProducts = FileHandler.ReadInventoryData(filePath); }