Not sure what you're doing wrong. White should be transparant, and black opaque. Make sure in the hypershader that the Out Transparancy of the file node is going into the transparancy of the shader node.