Updating file load for user errors

added try catch blocks, throws error subGui should catch