Changed the way documents are created so specify everything in the file