DocsGenerator: Now writing directly to the file through a `PrintWriter`. Changed the docs sources discovery and path relativization algorithms.