get_document function: Makes the filename for outputted docx file.