added the correct ID to each json element based on the filename