Text this: Control of light absorbance using plasmonic grating based perfect absorber at visible and near-infrared wavelengths