OC is a file stream wrapper which can be used to access owncloud files
https://github.com/owncloud/core/blob/master/lib/files/stream/oc.php

The path itself is correct - maybe the initialization of the wrapper is wrong.

@icewind1991