Returns a view model by the index in which it is located in the file
ViewModel? viewModelByIndex(int index);