let infile = ~"file://" + path.display().to_str();