creating try catch for file arguments
printing total price
attempt to DRY args