skip if fieldName null or file null.