I564

Moves the core away from using try catch blocks with input file reading, fixing #564. Existing functionality was used (nelements) rather than refactoring.