Change DirReader function by layer of folder.