Revert "hot fix trying document url with filename"
Revert "hot fix trying document url with filename"

This reverts commit 6010f3484664e2ce51b302d3d55932302c42a7b0.

AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul