Specify read file function

Otherwise using this function with ido-everywhere will not work.