for(int x = 0; x <linha.length();x++){
if(x == 14 && linha.charAt(x)!='|'){
System.out.println("ERRO 14: "+ "linha: "+contador);
FileWriter fw = new FileWriter("C:/teste.txt");
fw.write(linha );
fw.close();
}