Extend the "add url" function to allow file:// URLs