This uses the lib/file package to open files in such a way open files can be renamed or deleted even under Windows.