dataflash.h won't compile on my Arduino mega 2560

OK, I found the library files were incorrectly named, changed "dataflash.h" to "flash.h" and all references to it. Then, I saved "Dataflash.cpp" as "dataflash.h". Also, I found the info on changing to <arduino.h>, but, what do you Change for BYTE. I tried "char" and I still get a "expected primary expression before char" error on compile. Thanks for your help in getting me going in the right direction.