init with files