Updated BranchCodeProcessor to use FileSystem abstraction.