From a legal standpoint, a father has no rights over the unborn child. Roe vs. Wade took care of that. But if the mother decides on having the baby, the father becomes responsible.
Such a petition cannot be filed nor can child support or custodial issues be addressed until the child is born and paternity has been established.