Added support for named temp files