anchor.diff:                        {Config4, Env} = setup_envs(Config3, Modules),
   
                         %% Execute any before_command plugins on this directory
  -                      Config5 = execute_pre(Command, PluginModules,
  -                                            Config4, ModuleSetFile, Env),
  +                      Config5 = execute_pre(Command, PluginModules, Config4,
  +                                            File, Env),
   
                         %% Execute the current command on this directory
  -                      Config6 = execute(Command, Modules ++ PluginModules,
  -                                        Config5, ModuleSetFile, Env),
  +                      Config6 = execute(Command, AllModules, Config5, File,
  +                                        Env),
   
                         %% Execute any after_command plugins on this directory
  -                      execute_post(Command, PluginModules,
  -                                   Config6, ModuleSetFile, Env)
  +                      execute_post(Command, PluginModules, Config6, File, Env)
                 end,
   
       %% Mark the current directory as processed
  
positive.code:     %% Get the list of plug-in modules from rebar.config. These
      %% modules may participate in preprocess and postprocess.
      {ok, PluginModules} = plugin_modules(Config1, PredirsAssoc),
  
      {Config2, PluginPredirs} = acc_modules(PluginModules, preprocess,
                                             Config1, ModuleSetFile),
  
      AllPredirs = Predirs ++ PluginPredirs,
  
      ?DEBUG("Predirs: ~p\n", [AllPredirs]),
      {Config3, DirSet2} = process_each(AllPredirs, Command, Config2,
                                        ModuleSetFile, DirSet),
  
      %% Make sure the CWD is reset properly; processing the dirs may have
      %% caused it to change
  
negative.code:             %% path from inside a subdirectory.
              true = rebar_utils:expand_code_path(),
              {ParentConfig2, _DirSet} = process_dir(rebar_utils:get_cwd(),
                                                     Command, ParentConfig1,
                                                     sets:new()),
              case get_operations(ParentConfig2) of
                  Operations ->
  