set linenumber and file encodings