Modified scape character in function is_Folder since it was not working properly.