validate
validate copied to clipboard
Refactor code to use URL objects instead of file paths wherever possible
💡 Description
Current code flips back and forth between using system file paths (operating system-specific) vs. URL objects. Wherever possible, we should switch to the latter to avoid operating system-specific issues with parse files and paths.