A council worker was found with indecent images and videos of children.
Dundee Sheriff Court heard Colin Spink, 49, of Banknowe Drive, Tayport, had 5,773 images and 976 video files of children on his computer when police raided his home.
The court heard he admitted having the files during a police interview and that he would delete the images after viewing them in a bid to “cover his tracks”.
Fiscal depute Sue Ruta said: “A search warrant was granted on March 27 and executed at 8.40am on April 3 at the accused’s home.
“His wife said she had no knowledge of the indecent images.
“Two computer towers, two laptops, and a USB drive were recovered from the home.
“At around 11am, the accused was traced at his place of employment at Menzieshill Community Centre, and was detained and taken to police HQ.”
The court heard that during a police interview, Spink admitted having indecent images of children and claimed he was interested only in “soft stuff”.
The fiscal continued: “He said he got no sexual gratification from them it was just something inside him. He admitted looking at the images about once a month and said he looked only at pictures of children over the age of 10, knowing that to be wrong.”
From three of the items seized, a total of 5,773 images of children were recovered, as well as 976 indecent video files of children, all aged between six and 14 years old and classified by police as level one the lowest category.
File-sharing equipment and software to shred history and documents were also found on these items.
Spink admitted that, between February 10 2012 and April 2 last year, at a property on The Poplars, Dundee, he took or permitted to be taken or made indecent photographs or pseudo photographs of children.
Sentence was deferred to August 12.