add file_touched check