removed redundant function

no usages of the function. the equivalent function findAllFileIdsWhere() is used