Text this: Graphene-based Q-switched pulsed fiber laser in a linear configuration