Added error message if user tries to open a missing file