stat to split functions into files