Function spritesheet used with player as example.
Deletes old spritesheet file.