Treatment of food processing wastes for the production of medium chain fatty acids via chain elongation