code: def get_files_by_path(self, path, tree=TreeType.SOURCE_ROOT):
          
          files = []
          for file_ref in self.objects.get_objects_in_section(u'PBXFileReference'):
              if file_ref.path == path and file_ref.sourceTree == tree:
                  files.append(file_ref)
  
          return files
docs: Gets the files under the given tree type that match the given path.
          :param path: Path to the file relative to the tree root
          :param tree: Tree type to look for the path. By default the SOURCE_ROOT
          :return: List of all PBXFileReference that match the path and tree criteria.