fork output file