Bitwarden CLI Item ID

I have the Item Id number - but how to know to which directory it belongs ? And how to know what is the file extension? I try to create a bw create attachment --file