build_mock_url function

Convert a request to a mock file path