add initial search in shared files
divide ids into chunks of 1k