allow *.json when file type checking;