private static boolean Delete(File f, String line)
    {
        try
        {
            List<String> lines = new ArrayList<String>();
            BufferedReader reader = new BufferedReader(new FileReader(f));
            String line_file;
            while((line_file = reader.readLine()) != null){ lines.add(line_file); }
            reader.close();
            
            BufferedWriter writer = new BufferedWriter(new FileWriter(f));
            for(String s : lines) { if(!s.equalsIgnoreCase(line)) writer.write(s  + "\r\n"); }
            writer.close();
            return true;
        }
        catch(Exception e)
        {
            Utils.LogException(e, "deleting prefix/suffix");
            return false;
        }
    }