Added support for NSData instead of file path