if (-d "$path$file/") { #If it's a directory...