error for file doesnt exist handled in gettingchatlogs