Editing folders walking algorithm.