Personally, I would have documented the exportFile (and its template parameter) and then the ">>" trick (since it is less generic but could be useful).