String[] files = parent.list();
if (files == null)
return null;
List<Integer> list = new ArrayList<Integer>(defaultMaxGenerations);
if (file.exists())
<BUG>list.add(new Integer(0)); //base file exists
</BUG>
for (int i = 0; i < files.length; i++) {
if (files[i].startsWith(prefix)) {
try {

String[] files = parent.list();
if (files == null)
return null;
List<Integer> list = new ArrayList<Integer>(defaultMaxGenerations);
if (file.exists())
list.add(Integer.valueOf(0)); //base file exists
for (int i = 0; i < files.length; i++) {
if (files[i].startsWith(prefix)) {
try {
