Can you unlock an iPhone with iFile or iFunbox?

I wanted to know if it is possible to unlock an iPhone using iFile or iFunbox by deleting or modding certain files. Specifically, I am using an iPhone 3G on jailbroken iOS 4.2.1.

No you need unlock it with ultrasnow, check the trusted unlock guide:

Use ultrasnow.

No, you can not.

Do you own an iPhone, iPod, or iPad? You can get iTunes gift codes straight from your iDevice for free!

1. Open up Safari on your iDevice and go to /itunes4ever
2. Install an app and keep it open for 30 seconds.
3. Receive and redeem your $10 iTunes or Amazon gift card!

I've already received 3x $10 gift cards this week!