implemented method to list the files and display links