File with sorted data is now saved for every animal