title: Spring Batch: Read from txt files and return all lines as a single String to the processor
body: <p><br>
  I'm trying to read text from files in Spring Batch but i need all lines as a single String reaching the <code>.processor</code> and not line by line. I read about <code>.setRecordSeparatorPolicy</code> in <code>FlatFileItemReader</code>. Is there any other way to achieve this? Maybe another kind of reader or something? <br><br>
  Any help would be really appreciated</p>
  
  <pre><code>public ItemStreamReader&lt;String&gt; stringReader() throws IOException {
      Resources[] resources.. // load files here
      MultiResourceItemReader&lt;String&gt; reader = new MultiResourceItemReader&lt;String&gt;();
      reader.setResources(resources);
      reader.setDelegate(flatFileItemReader()); //sets FlatFileIteamReader
  
      return reader;
  }
  
  @Bean
  public TaskletStep managerStep() throws Exception {
      return managerStepBuilderFactory.get("managerStep")
              .&lt;String, String&gt;chunk(6)
              .reader(stringReader())
              .processor(myProcessor()) //all lines as 1 String here per File
              .writer(doSomething())
              .build();
  }
  </code></pre>