Got inputterV4 to display the promt without opening the file in read mode