Ensures build_file_dict is passed