brokensumlinks.c void -> int + check directory