open/close a (dummy) input file