Fixed file name pointers in error messages
Added const attribute in operation callback pointer