made each file listed a clickable component