add cashfile func like subsequence. now creatring test