A study file is an XML file that contains a structured list of study statements. To generate the structure of study files, pass the argument –xmltag to HyperStudy batch. It writes out the XML file in the current working directory with all of the structural XML elements.