Cahnged file descriptor type to int in Variant class