Anant: create 1 more file choser like this and set the value to
DIRECTORIES_ONLY (see the first comment below)

Jadoo: integrate the classes in file reader

Mattoo: your algos are giving output of indexes only. in order to
perform analytics i need matched patterns