Restructured on-click for the list, will now call the file that was clicked instead of sole testfile