ENYO-2784: fix the name reconstruction in the FileChooser for files in the root folder