worked on the selection of files GUI