A man staying at a local inn in Bar Harbor has been charged by the federal government in U. S. District Court with one count of Social Security fraud and one count of aggravated identity theft.