This question already has an answer here:
The English word with three letters, God. Is it allowed to close this window, for example?
What is the ruling regarding electronic documents, photos, etc. Can they be deleted from the hard drive or should there be a prayer or ceremony about disposing of them?
What do the modern poskim say? Does Shaimos apply here?