Warnings fix in check_for_files

I accidentally overwrote a built-in name