check file ids in batch calls