filePath = "/Development/MPW/SysErrs.err";
filePath = "/X/Developer/Headers/FlatCarbon/vfp.h";
void FilesTest::WriteStuff(nsOutputStream& s)//----------------------------------------------------------------------------------------{    // Initialize a URL from a string without suffix.  Change the path to suit your machine.    nsFileURL fileURL("file:///Development/MPW/MPW%20Shell", PR_FALSE);    s << "File URL initialized to:     \"" << fileURL << "\""<< nsEndl;        // Initialize a Unix path from a URL    nsFilePath filePath(fileURL);    s << "As a unix path:              \"" << (const char*)filePath << "\""<< nsEndl;        // Initialize a native file spec from a URL    nsFileSpec fileSpec(fileURL);    s << "As a file spec:               " << fileSpec.GetNativePathCString() << nsEndl;        // Make the spec unique (this one has no suffix).    fileSpec.MakeUnique();    s << "Unique file spec:             " << fileSpec.GetNativePathCString() << nsEndl;        // Assign the spec to a URL    fileURL = fileSpec;    s << "File URL assigned from spec: \"" << fileURL.GetURLString() << "\""<< nsEndl;        // Assign a unix path using a string with a suffix.    filePath = "/Development/MPW/SysErrs.err";    s << "File path reassigned to:     \"" << (const char*)filePath << "\""<< nsEndl;            // Assign to a file spec using a unix path.    fileSpec = filePath;    s << "File spec reassigned to:      " << fileSpec.GetNativePathCString() << nsEndl;        // Make this unique (this one has a suffix).    fileSpec.MakeUnique();    s << "File spec made unique:        " << fileSpec.GetNativePathCString() << nsEndl;} // WriteStuff