Open file dialog and get the name of file