Copy from file system to cuda memory

I’m wondering whether there is the function call to copy data in host file system to cuda memory directly.
Do I have to implement by myself? Does any one know about this?