added an overwritable text file sink