Return dirs that contain relevant files only