returncb('A scenario file is required. It must be json formatted')
}
if(!currentFile.match('.json$')){
returncb('A scenario file is required. Please make sure a scenario file is currently displayed in the editor. The file must be of type JSON. Use the "Save Transactions" Button to generate a new Scenario File.')