plot.py more flexible on fname taken