Fix bug with repeated file name node (one as file and one as folder)