Text this: Experimental and theoretical investigation of lyophilization