importing accounts with contacts

importing accounts with contacts

I have a file that contains accounts and their contacts. How do I import this? When I use the import Accounts option, it doesn't import the respective contacts that belong to that account. When I import the contacts, it doesn't import the respective account that belongs to that contact. How do i do this?