no need to check for `files[0]`. the `for` loop takes care of checking for that.