File open dialog uses file-type filter correctly