reorganize brute force match algorithm
remove useless file tracking