Added functionality to compress all required and optional files into a single string.