changed to reading a single file & fixed animation