"remove" does not sound right to me (in the comments also)

what about `canonicalizePath` or `getRealPath`