error checking on data file
Merge branch 'pickle_error_checking_issue_19' into development