if maxBytes is configed in 'MB' ended string, convert it into bytes