Added the helper methods for the min file detector