private static File nameFor(ObjectDirectory odb, ObjectId name, String t) { File packdir = new File(odb.getDirectory(), "pack"); return new File(packdir, "pack-" + name.name() + t); }