with file_sampler.c, it's better