PyFile: getter and setter for Block and Section