Allow multiple master files and different encodings