added to scandir concatenation of path and name