Should this be `files.length`?