Properly read characters from the source file.