Hi I am trying to append to a file but getting an error: File already exists


private FlatFileItemWriter<T> delegate;

FileSystemResource resource = new FileSystemResource("abc.txt");
this.delegate.setShouldDeleteIfExists(true);
this.delegate.setResource(resource);
this.delegate.open(ec);
this.delegate.write(list);
this.delegate.close();

Please help