Cleaning Up CFile

Incorporating the changes in PR #2596 
Sorry, I completely misunderstood. 
Earlier before this patch dummy function was implemented for only bool type argument, but since I used Macros instead, the dummy definition was used.