write txt files by default and limit types
only open .xls files