change == to startswith

When asking a user if they want to delete a file, typing "yes"/"no"
would result in the loop continuing. Now yes/no works