initialize with files