Minor changes related to filename input, and added a sentence which gives an error