Generate sample files from within test case itself.