insertTeams loops over all files in directory