Update fd-helper.c

removes defunct and commented out code.