Java files indexing implementation