Passing an empty string strikes me as odd. Passing null in this case would work as well and might be more clear. Or the second parameter could be a memory boolean.