When iCloud drive is enabled, opening a file via alfred causes it to freeze and be unresponsive until the file is downloaded. If you're on a slow internet connection, this could be several minutes, requiring a force quit via activity monitor.
A better behaviour would be a notification that the file is being downloaded, and for the Alfred popup to close.