def write_collection_from_tmpfile(self, collection_id, tmpfi, parent_sha, auth_info, commit_msg=''):
        """Given a collection_id, temporary filename of content, branch and auth_info
        """
        return self.write_doc_from_tmpfile(collection_id,
                                           tmpfi,
                                           parent_sha,
                                           auth_info,
                                           commit_msg,
                                           doctype_display_name="collection")
Given a collection_id, temporary filename of content, branch and auth_info