Experimental: always check space-separated path
Simplify: use only one replace to remove ?… and #…
Reset counter for "maxLength" before forward pass
Remove obsolete commented code
Add support for file://… links