Duplicated existing functionality using file:read_link_info