MOBILE-682 New script for serving files with CORS support