FileWriter now keeps track of all files it writes