Add setting to only show txt files in file dialog