generate sample file before all