[minor/bug] in file module, don't count empty file as a hit