Groups files in to folders using java 8