code: function (child) {
                      // Replicate filtering that getAllFiles() does
                      if (ProjectManager.shouldShow(child)) {
                          if (child.isFile && _isReadableText(child.name)) {
                              // Re-check the filtering that the initial search applied
                              if (_inSearchScope(child)) {
                                  addedFiles.push(child);
                                  addedFilePaths.push(child.fullPath);
                              }
                          }
                          return true;
                      }
                      return false;
                  }
docs: gather up added files