handling for symbolic links