Extracts folder creation function from upload
Update IN_WITY to WITYCMS_VERSION in media files