Ensure sampleFile provided.