File to url test should actually use File.