Finish filesystem in Python