implemented file descriptor redirection
added description