Changed XMFileFilter to implement filenamefilter