accept arbitrary files for translating to xml