fixed api name change from addAnimationsWithFile to addAnimations