DOM state is now saved.

Reverted back to FileReader.