synchronize the drop down with the file name in chooser.