Clean up try block to load data
Add back stand alone part of gjfwriter