Added extension to sampleFunction (.out)