Print error text if we fail to open file