# This function validates all the BIOS files listed in the $bios_checklist and adds the results to an array called $bios_checked_list which can be used elsewhere
echo"$bios_file"^"$bios_system"^"$bios_file_found"^"$bios_hash_matched"^"$bios_desc"^"$bios_subdir"^"$bios_hash" >> "$godot_bios_files_checked"# Godot data transfer temp file
# This function will build an array of all the system subfolders in $roms_folder which are either empty or contain only systeminfo.txt for easy removal
if[[ -f "$godot_empty_roms_folders"]];then
rm -f "$godot_empty_roms_folders"# Godot data transfer temp files
fi
touch "$godot_empty_roms_folders"
empty_rom_folders_list=()
all_empty_folders=()
for system in $(find "$roms_folder" -mindepth 1 -maxdepth 1 -type d -printf '%f\n')