Added a handling of initialize. It specifies file encoding and new line type.