loading lists of file names from JSON instead of HTML