Fixed encoding of the main file