Adjusted the indices to include entire file