Index file working