# Corrupted file after hadding

**URL:** <https://root-forum.cern.ch/t/corrupted-file-after-hadding/21940>\
**Category:** ROOT\
**Created:** [September 26, 2016, 1:23pm UTC](https://root-forum.cern.ch/t/corrupted-file-after-hadding/21940 "2016-09-26T13:23:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [September 27, 2016, 6:44am UTC](https://root-forum.cern.ch/t/corrupted-file-after-hadding/21940/2 "2016-09-27T06:44:38Z")

</div>

It looks like this was already addressed in the past:

> [@Hadd with Trees in Root 5.32 with a large number of files](https://root-forum.cern.ch/t/hadd-with-trees-in-root-5-32-with-a-large-number-of-files/14024/1):
>
> Hi, I could neither find a similar topic on this board nor on Savannah. I work with OS: Ubuntu 10.10 64bit Root 5.32 and 5.32.01 I have more than 1000 inputfiles which contain a tree in a subfolder, each with 10k entries and only one cycle number (= 1) (output from Geant4 simulations on a cluster) To merge these files I do in the Shell so I specify all input files. What happens: (with for example 1331 input files) 923 files are processed in one step and then the rest (408). hadd split…

---

_[View the full topic](https://root-forum.cern.ch/t/corrupted-file-after-hadding/21940)._
