Added ability for getSharedPath to return an array of valid file paths when passed an array of filenames.