removed the 'file' prefix and URI.parse call