Java traverses all files below the file and outputs the file name