make shure file is being created