alter tab's label when file is modifed