Fixed file encoding issues