the stripos could be done outside load() so it's not done for every file.