support init of a sample file