Fix #20 by seperating long list of files in chunks

Chunks are used because creating a Java VM is very expensive task, memory and CPU wise. Running the task on each file individually would be too resource intensive.

I have to check why unit test fail though