changing message(file type) to bad file