fix: log error for number of files