This same type of situation happened when I was in the Army with a guy in my unit. He was arrested in a sting and they found child porn on his computer. He was found not guilty in a court martial as I guess it was shown that there was evidence that these images were remotely stored on his computer without his knowledge. Everyone thought it seemed shady at first but I guess that it can happen.