recursive section, listFiles function