Pass in options to File.open in Document.