title: Get file name from readMultiFileJob in Spring Batch
body: <p>The following is my Spring Batch processing config file, i am reading multiple files (xml, csv etc), the files generate dynamically with time stamp as suffix  i can read file's data and process, <br/> now the Question is, 
  i would like know the file name. 
  How to get file name when job is processing.  </p>
  
  <pre><code>&lt;import resource="../config/context.xml" /&gt;
      &lt;bean id="domain" class="com.di.pos.Domain" /&gt;
      &lt;job id="readMultiFileJob" xmlns="http://www.springframework.org/schema/batch"&gt;
          &lt;step id="step1"&gt;
              &lt;tasklet&gt;
                  &lt;chunk reader="multiResourceReader" writer="flatFileItemWriter"
                      commit-interval="1" /&gt;
              &lt;/tasklet&gt;
          &lt;/step&gt;
      &lt;/job&gt;
      &lt;bean id="multiResourceReader"
          class=" org.springframework.batch.item.file.MultiResourceItemReader"&gt;
          &lt;property name="resources" value="file:csv/inputs/dipos-*.csv" /&gt;
          &lt;property name="delegate" ref="flatFileItemReader" /&gt;
      &lt;/bean&gt;
      &lt;bean id="flatFileItemReader" class="org.springframework.batch.item.file.FlatFileItemReader"&gt;
          &lt;property name="lineMapper"&gt;
              &lt;bean class="org.springframework.batch.item.file.mapping.DefaultLineMapper"&gt;
                  &lt;property name="lineTokenizer"&gt;
                      &lt;bean
                          class="org.springframework.batch.item.file.transform.DelimitedLineTokenizer"&gt;
                          &lt;property name="names" value="id, name" /&gt;
                      &lt;/bean&gt;
                  &lt;/property&gt;
                  &lt;property name="fieldSetMapper"&gt;
                      &lt;bean
                          class="org.springframework.batch.item.file.mapping.BeanWrapperFieldSetMapper"&gt;
                          &lt;property name="prototypeBeanName" value="domain" /&gt;
                      &lt;/bean&gt;
                  &lt;/property&gt;
              &lt;/bean&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  </code></pre>