Fixing bugs with the callback implementation
Rewrote if statements to handle else if cases in a non-recursive manner to simplify the callback generator code
Rewrote the File class to use the Block class as a parent to support callbacks in the main block