Change addFile/rmFile/chFile to functions can be called ->wangyu