Chosen Solution

if you take of the battery will it delete everything

No. The storage of MP3 players use Non-Volatile Flash Storage. Removing the battery should not delete anything. It may reset the clock, but your music files should be safe.