Avoid using file: or localhost URL