Marshalling to file works