For files opened with a path, we can use that path to get the folder. And/or for streams we can make an argument to provide a path.