chnaged when open outputfile