Also, this should be wrapped in a try/catch -- otherwise, a bug in code hints could break the entire Brackets UI including the ability to save files.