FormatError uses IVirtualFileSystem instead of IO.File.