using haxe.io.Path.
moved getFileContentType method to sys.net.WebServerClient