Throw an exception if an index is created on file link