. . "This solution changes $file to always hold the full name of the file or directory, including the path." . .