No, that's not where the error is:

define('FILENAME_DEFINE_REFUND, 'define_refund');
--> missing the closing quote

Change it to:
define('FILENAME_DEFINE_REFUND', 'define_refund');