Refactored the doc mounting path creation to avoid FileRequestHandler.