Embedded File System (EFS) is a library that allows you to create virtual file system in a single file. It can be useful when you need to create really big number of small files. It will still be blazing fast even when you have millions of files. Encryption layer could be easily added if you want security.
These details are provided for information only. No information here is legal advice and should not be used as such.