The most common task generate function and C file creator