Make potentially large file operations asynchronous when possible.