Added exception when reading non-ascii files