find matching J id and file name