Add write to and load from files.