Optimizing live and file workflows in the cloud