added file encoding headers