complete duplication of fd to fd to file