creating close method on BinarnyFile -- so you can manually close the fd