fixed a bug with 'return_text' - added a "get logfile" example.