Adjustment for head file correspondingly.

Directories and file descriptors generation can be done in the same generator. The function "generator_dir()" has been commented. Change the function name "generator_fd()" into "generator_fd_dir()".