access restaurant file'
handle input in loop