returns ip count by file