Changed from foldLeft to reduce for readability
Needed data files