Update comment to reflect the purpose of getPath()