add file modification check