avoid temp files creation incase of failure