Extending input submenu to take flat text files as input