Adapted Java feature extraction to automatically extract folders in our structure