added move code to get block to file.GetBlock(i)