Retrieve targets files from db.