hot-fix: missing loop over file handling