Man gets 240 months for child porn charges