Cannot open a file from SD when using multiple loops [SOLVED]

What happens if you remove (comment out) all these lines from the code in your Original Post

 while (coinsValue >= 1)
  {
    lcd.setCursor (7, 0);       // go to start of 2nd line
    lcd.print("Skambink!");

...R