added check for missing bit-file