Querying your filehandle capabilities