now accepts file:// urls