delete samplefile first