CLN: refactored url accessing and filepath conversion from urls to io.common