read source file by char