If the object with the specified `path_name' is loaded, its
pointer is returned by this function.
If the filename is given merely as the path to the object,
e.g. "/std/coins" the master object is returned, but it is
possible to find specific objects by giving the name complete
with instance number, e.g. "/std/coins#123".