for (File name : file.listFiles(skeletonFilter)) {
//new loader each time, yes
// SkeletonLoader loader;
try {
SkeletonLoader loader = new SkeletonLoader();
AnimData ad = (AnimData)loader.load(name.toURI().toURL().openStream());
if(ad != null && ad.skeleton != null){
String fName = name.getName().substring(0,name.getName().length()-".xml".length());
BinaryExporter.getInstance().save(ad.skeleton,
new File(path + File.separatorChar + fName+ ".j3o"));