Base support for resources.
NOTE 1. Nested directories are not supported yet, and a FileNotFoundException will be thrown in that case.
NOTE 2. As a future improvement, cache a map of generated ZIP files for every directory and use a Watcher to detect modifications in this directory.