What can be done just with a single directory and saving its structure in a file?
Imagination is the limit. With archiving programs, one can roll up an entire drive into a file (say, a ZIP archive, or if you need RAR’s capabilities in correcting corrupt data, an RAR archive) and keep the file in a separate partition. Now how many files one can put in a directory can be a relevant question.