moved file check to rbd.pp