add function file