file locate.c added