Changed encoding of opened files to cp1252