The purpose of the K-3 visa is for a person to enter the United States who has a legally valid marriage to a United States citizen, to join that spouse, and to file for permanent residency. The United States citizen petitioning spouse must also file a Form I-130 petition for the beneficiary. Thus, you must file the I-130 before you file the I-129F.