Added  function to list all files recursively