Fixed error with file ranker