add fd in output files' name