Handle errors in reading and parsing schema files cleanly