used forEach instead of map since we are noting using the returned file after we are done reading it