Java application that can read certain random strings in a directory