Using method from IO::Routine to strip leading and trailing white spaces.