add function of cstfile system