writeLogFile option added to predict method