Added a function to list all files