Added verify for index
Added method testEmptyFile