If user enters a string instead of character its better to print error message rather than searching for the first character in file.