Should probably use realpath.