read from file window working