Japan says it will give Afghanistan $ 110 million in aid to help with border security , literacy and the plight of refugees in the war-torn country .