first step for adding support for rawfile bootstrapping