Initialize variables in case the shadow file is not found. Handle IndexErrors if something goes wrong with file parsing.