title: When I write again in file with openCsv, this file is overwritten
body: <p>When I try to write data to a file with opencsv, the file is overwritten instead. All previous data is erased and retains the last data. I used this tutorial <a href="http://opencsv.sourceforge.net/#can-I-write" rel="nofollow">http://opencsv.sourceforge.net/#can-I-write</a> , but it didn't help.</p>
  
  <pre><code>        case 3:
              CSVReader reader = new CSVReader(new FileReader(file));
              if (reader.readNext()==null) { 
                  reader.close();
                  CSVWriter writer = new CSVWriter(new FileWriter(file));
                  String[]entries="first#second#third".split("#");
                  writer.writeNext(entries);
                  writer.close();
              }
              CSVWriter writer = new CSVWriter(new FileWriter(file),',');
              String[]entries = new String[7];
              System.out.print("Введите Фамилию(обязательно): ");
              entries[0]=check(br.readLine());
              System.out.print("Введите имя(обязательно): ");
              entries[1]=check(br.readLine());
              System.out.print("Введите Отчество(обязательно): ");
              entries[2]=check(br.readLine());
              System.out.print("Введите телефон мобильный(обязательно): ");
              entries[3]=check(br.readLine());
              System.out.print("Введите телефон домашний: ");
              entries[4]=br.readLine();
              System.out.print("Введите адресс: ");
              entries[5]=br.readLine();
              System.out.print("Введите e-mail: ");
              entries[6]=br.readLine();
              writer.writeNext(entries);
                  writer.close();
              break;
  </code></pre>
  
  <p>What should I do to fix this? </p>