log the problematic files for diagnostic