oh, I just saw "create_sample_file" -- would be better to move all example code to some other, examples file.