Added a helper method to RFS to avoid hard coding of header indices.