Extensions is returned without the dot
Reversed result data structure: project to extension rather than extension to projects
Remember all the extensions that are found
removed unused variable
Only consider allowedExtensions
print results to csv