Add IO.cpp to check whether file has pure ASCII encoding