Index file is being read correctly