
  -spec path_consult(Path, Filename) ->
                        {ok, Terms, FullName} | {error, Reason}
                        when
                            Path :: [Dir],
                            Dir :: name_all(),
                            Filename :: name_all(),
                            Terms :: [term()],
                            FullName :: filename_all(),
                            Reason ::
                                posix() |
                                badarg | terminated | system_limit |
                                {Line :: integer(),
                                 Mod :: module(),
                                 Term :: term()}.

  Searches the path Path (a list of directory names) until the
  file Filename is found. If Filename is an absolute filename, 
  Path is ignored. Then reads Erlang terms, separated by '.', from
  the file.

  Returns one of the following:

  {ok, Terms, FullName}:
    The file is successfully read. FullName is the full name of
    the file.

  {error, enoent}:
    The file cannot be found in any of the directories in Path.

  {error, atom()}:
    An error occurred when opening the file or reading it. For a
    list of typical error codes, see open/2.

  {error, {Line, Mod, Term}}:
    An error occurred when interpreting the Erlang terms in the
    file. Use format_error/1 to convert the three-element tuple
    to an English description of the error.

  The encoding of Filename can be set by a comment as described in 
  epp(3).
