Sorry I meant ``get_commands_from_file``. Do you see a way that this could be used StringIO that is not from a file ?