add input and output file descriptor to Config