added support for torrents with lots of subdirectories