Change file handling code to use native dialogs. Remove unused filter
classes.