Do not write back when file is closed