uncommented the try-catch block in the loadJson() function that was crashing if there was no files present