public static void findFarmsAfterDelete(String fileName) {

        try {
            FileReader fr = new FileReader(fileName);
            BufferedReader br = new BufferedReader(fr);

            String farms;
            int count = 0;

            String[] values;

            while((farms = br.readLine()) != null) {
                for (int i = 0; i <  1; i++) {
                    try {
                        values = farms.split(",");

                        if(distanceMethod(Double.parseDouble(values[2]), 346.0, Double.parseDouble(values[3]), 243.0) <= 15 &&
                                distanceMethod(Double.parseDouble(values[2]), 346.0, Double.parseDouble(values[3]), 243.0) != 0.0
                                ) {
                            Double newValue = distanceMethod(Double.parseDouble(values[2]), 346.0, Double.parseDouble(values[3]), 243.0);
                            AddFarmsTable.getTable().setValueAt(values[0], count, 0);
                            AddFarmsTable.getTable().setValueAt(values[1], count, 1);
                            AddFarmsTable.getTable().setValueAt(values[2], count, 2);
                            AddFarmsTable.getTable().setValueAt(values[3], count, 3);
                            AddFarmsTable.getTable().setValueAt(values[5], count, 4);
                            AddFarmsTable.getTable().setValueAt(newValue, count, 5);
                            count++;
                            //break
                        }
                    }
                    catch(NullPointerException e) {
                        //do nothing but load
                    }
                }
            }
            AddFarmsTable.getTable().changeSelection(0, 0, false, false);
        }
        catch(IOException e) {
            System.out.println("find Farms IO exception");
        }
        catch(ArrayIndexOutOfBoundsException e) {

        }
        AddFarmsTable.sortAllRowsBy(AddFarmsTable.getModel(), 5, true);
    }