CHANGED:applied the FileOpenDialog implementation