idem: should stay in FileBased...; notice that you needed that ugly cast because of this?
@author