Man charged with having explosive material