Fixes for async processing of sync files in closures. Not sure why clarity fails.