title: How to read a text file with timestamp? in Java
body: <p>Does Asterisk work in java? I want to read a file with timestamp.
  taxonomy_timestamp.txt   but it doesn't work.</p>
  
  <pre><code>    String fileName = "20190215/"+"taxonomy_*.txt";
          try (BufferedReader reader = new BufferedReader(new FileReader(fileName))) {
  
              String line;
  
              while ((line = reader.readLine()) != null) {
                  if(line.contains(":")) {
                      String[] segmentData = line.split(":");
                      String keyword = segmentData[0];
                      String name = segmentData[1];
                      segmentList.add(new ExternalSegmentDownloader.ExternalSegmentKey(keyword, name));
                  }
              }
          }catch(IOException e){
              log.info("File not found.",e);
          }
          return segmentList;
      }
  </code></pre>