listFilesForFolder now returns an array of filenames so it can be used
for more than just getting json
added method to convert the files array to json
started method for converting files array to hashmap of hashmap of
synchronized data