create file if no open buffer