Rather than just checking for "merged" the problem is actually that it cannot parse an int out of the word "merged".  I'd be more comfortable if this were actually a parsing check:

``` java
return Ints.tryParse(fileName) != null;
```