I'm thinking about modifying it once again to do format autodetection and then use appropriate receiving function via -R flag. Do you think it's worth doing it like this? Cheers, Petr