JavaScript: Saving

How in the code will describe the saving of the game on separate files, then to delete them?

Thanks!!!

What code?

What game?

Can you give us a little more background as to what you are trying to achieve?