With don't get jobs from the file, we get commands. So, ``get_commands_from_file`` might be better suited, but I don't like the ``_from_file`` part. This function can get the commands from a StringIO object, not necessarily from a file.