added file filter and file chooser