Refactored textfileinputmetaeditor