changed for process recursive directory