Spanish police say they have arrested a 51-year-old male on suspicion that he left files containing child pornography in the USB port of a computer in a public library on the southwestern Canary Island of Gran Canaria.

The suspect was tracked down after he allegedly left a pen drive containing 343 files of child pornography still plugged into the computer in a library in the city of Las Palmas, police said in a tweet on their official Twitter account Saturday.

An investigation led to the suspect's address where he was arrested and computer equipment seized, police said.