Minor refactorings to SysFile and to the chipmunk classes.