Added method to list files recursively