Modify dog and cat text files