title: Read Multiple Files In Java
body: <p>I want to read multiple files into Java at once. File names are like: </p>
  
  <ul>
  <li>nnnnn_UM2012.txt</li>
  <li>ghkjdf_UM2045.txt</li>
  <li>erey_UM2189.txt</li>
  <li>....</li>
  </ul>
  
  <p>There are over 1,000 files and I do not want to write all files names in Java one by one, using code similar to the following one:</p>
  
  <pre><code>String fileNames = {"nnnnn_UM2012.txt","ghkjdf_UM2045.txt","erey_UM2189.txt", …}
  </code></pre>
  
  <p>Maybe the filenames should be read in reverse order. How can I do that? </p>