fixed indices in fileLoader