Added check by restoring a file