Added filename check for json_jpg_export.py