RemainingToText.py: more flexible use