Adding txt and csv file extensions