Modify to make it accept and generate files containing the zpool command outputs