This sounds a little fishy. Make sure of what his EXACT charges are because piracy of Internet content like music is one very minor charge that is largely never pursued, child pornography is another - very seriously and aggressively prosecuted. It sounds like he might have been caught with child pronography and he was hiding the pictures in the music files. If this is a federal case (FBI involved) then he could face a lengthy prison sentence in the United States and the moment he is released would be immediately extradited.
https://www.inmateaid.com/ask-the-inmate/how-much-time-could-my-friend-get-for-internet-piracy-what-if-the-files-has#answer
Accepted Answer Date Created: April 17,2016