open file ido mode buffer