Add method isModifed to judge file change