Restoring Tensorflow Models

I was restoring a saved model in Tensorflow 1.5 when I was getting the error below.

DataLossError (see above for traceback): Unable to open table file …: Data loss: not an sstable (bad magic number):

Checkpoint v2 saves the checkpoint as 3 files (*.data-00000-of-00001, *.index, *.meta). So when restoring the checkpoint remove the extension and just use the filename *.ckpt