Added genpath.c