def METHOD_NAME(self, *parts):
    filename = self.norm(*parts)
    base, file = os.path.split(filename)
    if not os.path.exists(base):
        os.makedirs(base)
    f = open(filename, 'w')
    f.close()