Renamed _HasFile() to _HasAnimation() and made it more useful.
Handle the case of animations where the walking animation is in a
different file
Added clean target
Added check for NULL