.
Given a path, which may represent a glob pattern, a directory,
comma separated files/glob patterns or a file, this method
finds the set of relevant metadata files on the storage system.
The algorithm for finding the metadata file is as follows:
For each object represented by the path (either directly, or via a glob):
If object is a directory, and path/metaname exists, use that as the metadata file.
Else if parentPath/metaname exists, use that as the metadata file.
Resolving conflicts, merging the metadata, etc, is not handled by this method and should be
taken care of by downstream code.