Added select funtionality with many files