Take the spec file as a parameter