add error handling to file load, update README.md