title: Find File by substring in java
body: <p>I'm having little trouble here. I have to find all the file inside a directory that <strong>can contain</strong> a certain word. Now i don't know how to operate, i can only find Files that Have the word as name but it's not enough for me.</p>
  
  <pre><code> String path ="C:\...ecc...";
   String fileName= "01";
   File file = new File(path+fileName)
  
    if(file.exists()){
    // stuff with file
    }
  </code></pre>
  
  <p>This find the file that has 01 has name, instead i want to find all the files wich have 01 inside their name. Any ideas?</p>