I want to write a java code, where given a directory name, I should be able to get all the files starting with list (so something like list*) and read each file one by one (line
You can list using a file filter as described here