Can this take a buffer instead of a filename please?