Man charged with showing pornography to girl