Handle possible anomalies by returning an error and exiting with code 1: - if wrong number of arguments is passed - if one of the files does not exist