This is correct. Technically, we don't need to ask either. When you upload the files, it's possible to read them from the XenForo config.
Any code that requires you to save information will almost always use a database. Without it, you'd be relying on sessions/cookies, which are not...